<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Packet <i>Mac80211Pkt</i></h2>
<b>File: <a href="modules-messages-Mac80211Pkt.msg.html">modules/messages/Mac80211Pkt.msg</a></b><br/>
<p>Defines all fields of an 802.11 MAC frame</p>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-msg-usage-diagram.html">here</a> to see the full picture.</p>
<img src="Mac80211Pkt-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="Mac80211Pkt.html" title="Packet Mac80211Pkt" alt="" coords="5,6,107,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-msg-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="Mac80211Pkt-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="Mac80211Pkt.html" title="Packet Mac80211Pkt" alt="" coords="5,83,107,111">
<area shape="rect" id="node2" href="MacPkt.html" title="Packet MacPkt" alt="" coords="20,6,92,34">
</map>
<h3 class="subtitle">Extends:</h3>
<table>
<tr>
   <td>
      <a href="MacPkt.html">MacPkt</a>
      <i> (packet)</i>
   </td>
   <td>

<p>A basic MAC (Media Access Control) packet format definition</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Fields:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">sequenceControl</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td></td>
</tr>
<tr class="local">
   <td width="150">duration</td>
   <td width="100">
      <i>
simtime_t</i>
   </td>
   <td>
<p>the expected remaining duration the current transaction 
(RTS-&gt;CTS-&gt;DATA-&gt;ACK) between two macs will occupy the channel</p>
</td>
</tr>
<tr class="local">
   <td width="150">address4</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td></td>
</tr>
<tr class="local">
   <td width="150">fragmentation</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>part of the Frame Control field</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">destAddr</td>
   <td width="100">
      <i>
long</i>
   </td>
   <td>
<p>destination mac address</p>
</td>
</tr>
<tr class="local">
   <td width="150">informationDS</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td>
<p>part of the Frame Control field</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">srcAddr</td>
   <td width="100">
      <i>
long</i>
   </td>
   <td>
<p>source mac address</p>
</td>
</tr>
<tr class="inherited">
   <td width="150">sequenceId</td>
   <td width="100">
      <i>
long</i>
   </td>
   <td>
<p>Sequence Number to detect duplicate messages</p>
</td>
</tr>
<tr class="local">
   <td width="150">address3</td>
   <td width="100">
      <i>
int</i>
   </td>
   <td></td>
</tr>
<tr class="local">
   <td width="150">retry</td>
   <td width="100">
      <i>
bool</i>
   </td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// Defines all fields of an 802.11 MAC frame
//
</span><span style="color: #800000; font-weight: bold; ">packet</span><span style="color: #000000; "> </span><span style="color: #000000; ">Mac80211Pkt</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">extends</span><span style="color: #000000; "> </span><span style="color: #000000; ">MacPkt</span><span style="color: #000000; ">
{
    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">address3</span><span style="color: #000000; ">;
    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">address4</span><span style="color: #000000; ">;
    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">fragmentation</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">//part of the Frame Control field
</span><span style="color: #000000; ">    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">informationDS</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">//part of the Frame Control field
</span><span style="color: #000000; ">    </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">sequenceControl</span><span style="color: #000000; ">;
    </span><span style="color: #000080; font-weight: bold; ">bool</span><span style="color: #000000; "> </span><span style="color: #000000; ">retry</span><span style="color: #000000; ">;
    </span><span style="color: #000000; ">simtime_t</span><span style="color: #000000; "> </span><span style="color: #000000; ">duration</span><span style="color: #000000; ">; 	</span><span style="color: #808080; font-style: italic; ">//the expected remaining duration the current transaction 
</span><span style="color: #000000; ">						</span><span style="color: #808080; font-style: italic; ">//(RTS-&gt;CTS-&gt;DATA-&gt;ACK) between two macs will occupy the channel 
</span><span style="color: #000000; ">}
</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
